﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using FinanceTool.Components;

namespace FinanceTool.Tests
{
    [TestClass]
    public class UnitTest1
    {
        const string FileLocation = @"E:\Projects\MyOwnProjects\FinanceTool\Example.csv";

        [TestMethod]
        public void ReadIngSourceFile()
        {
            var reader = SourceFileReaderFactory.Create(SourceFileType.Ing, FileLocation);
            var transactions = reader.ReadTransactions();
            var filteredTransactions = reader.FilterByDescription("BETAALAUTOMAAT");
        }
    }
}
